project(hfa_interop)


add_library(hfa_simple_f32_native_cpp SHARED hfa_native.cpp)
target_compile_definitions(hfa_simple_f32_native_cpp PRIVATE SIMPLE_HFA FLOAT32)

add_library(hfa_simple_f64_native_cpp SHARED hfa_native.cpp)
target_compile_definitions(hfa_simple_f64_native_cpp PRIVATE SIMPLE_HFA FLOAT64)

add_library(hfa_nested_f32_native_cpp SHARED hfa_native.cpp)
target_compile_definitions(hfa_nested_f32_native_cpp PRIVATE NESTED_HFA FLOAT32)

add_library(hfa_nested_f64_native_cpp SHARED hfa_native.cpp)
target_compile_definitions(hfa_nested_f64_native_cpp PRIVATE NESTED_HFA FLOAT64)
